package com.jdrx.ocp.beans.dto.resource;

import com.jdrx.platform.commons.rest.beans.dto.PageBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author: Huangxg
 * @Date: 2018/11/20 9:48
 */
@ApiModel(value = "查询资源DTO", description = "查询资源信息")
public class QueryResourceDTO {

    @ApiModelProperty(value = "资源名称")
    private String name;

    @ApiModelProperty(value = "资源类型")
    private Short type;

    @ApiModelProperty(value = "资源地址")
    private String url;

    @ApiModelProperty(value = "所属平台")
    private String prefix;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
}
